package com.guohengspace.mq.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName SystemConfig
 * @Description 系统配置，读取配置文件的动态参数
 * @Author GuanNing
 * @Date 2023/1/4 11:05
 */
@Data
@Configuration
//@ConfigurationProperties(prefix = "guohengspace")
//@EnableConfigurationProperties(SystemConfig.class)
public class SystemConfig {

    @Value("${guohengspace.aes.key}")
    private String aesKey;

    @Value("${guohengspace.logging.requestLog.switch}")
    private Boolean requestLogSwitch;
}
